﻿<div ng-controller="TerminalBusCtrl">
    <tabs options="tabs1">
        <ul class="tab">
            <li><a href="#subtabs_01">终端业务流量</a></li>
        </ul>
        <div>
            <div id="subtabs_01">
                <div>
                    <div class="selectfrom">
                        <span class="rqs1">日期选择：</span>
                        <input id='starttime1' ng-model="starttime1" onfocus="WdatePicker({skin:'twoer',dateFmt:'yyyy-MM-dd'})" />
                        <span>至</span>
                        <input id='endtime1' ng-model="endtime1" onfocus="WdatePicker({skin:'twoer',dateFmt:'yyyy-MM-dd'})" />
                        <a class="jin1" ng-click="selectQuery1(1)" href="javascript:">最近1天<label style="display: none">1</label></a>
                        <a class="jin1" ng-click="selectQuery1(7)" href="javascript:">最近7天<label style="display: none">7</label></a>
                        <a class="jin1" ng-click="selectQuery1(30)" href="javascript:">最近30天<label style="display: none">30</label></a>
                        <br/>
                        <span class="rqs1">终端品牌：</span>
                        <select id="brand">
                            <option value="">全部</option>
                            <option value="苹果">苹果</option>
                            <option value="三星">三星</option>
                            <option value="魅族">魅族</option>
                            <option value="小米">小米</option>
                            <option value="华为">华为</option>
                            <option value="联想">联想</option>
                            <option value="OPPO">OPPO</option>
                            <option value="VIVO">VIVO</option>
                            <option value="中兴">中兴</option>
                        </select>
                        <input class="rqbtn" type="button" ng-click="queryTerminallen()" value="查询" />
                        <input ng-click="showDownloadlist()" class="rqbtn" type="button" value="下载列表" />
                    </div>
                    <div class="webpart">
                        <div class="wp_top">
                            <span class='x18icon table'></span>
                            <span>终端业务分析表</span>
                            <input class="dcsj" type="button" ng-click="exportTermBusTask()" value="导出数据"  id="downbutton" />
                        </div>
                        <div class="wp_main table">
                            <jqgrid options="grid1"></jqgrid>
                        </div>
                        <div class="wp_foot">
                            <sortpage sortpagedata="grid1.gridpagedata"></sortpage>
                        </div>
                    </div>
                </div>
            </div>
            <artdialog option="dialogList">
                <div style="overflow-x: hidden">
                    <jqgrid options="downloadList"></jqgrid>
                </div>
            </artdialog>
        </div>
    </tabs>
</div>